home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / AEA / Source / Sources / Descriptors / AEADescObjectSpecifier.cc < prev   
Encoding:
C/C++ Source or Header  |  2000-06-24  |  419 b   |  24 lines

  1. /*    =========================
  2.  *    AEADescObjectSpecifier.cc
  3.  *    =========================
  4.  */
  5.  
  6. #include "AEADebugging.h"
  7.  
  8. #include <AEObjects.h>
  9.  
  10. #include "AEADesc.hh"
  11. #include "AEADescObjectSpecifier.hh"
  12.  
  13. AEAMetatoken
  14. AEADescObjectSpecifier::Resolve()
  15. {
  16.     AEADesc tokenDesc;
  17.     
  18.     OSErr err = ::AEResolve(&Ref(), kAEIDoMinimum, &tokenDesc.Ref());
  19.     ThrowIfOSErr_(err);
  20.     
  21.     AEAMetatoken token(tokenDesc.Ref());
  22.     return token;
  23. }
  24.